package cn.pku.sirx.snad.ad;

/**
 * Constants definition in ad-commons, replying with some naming rules.
 * 
 * @author WangXiao
 */
public interface Constants {

	/**
	 * Value type: Long
	 */
	String WEB_P_AD_ID = "aid";

	/**
	 * Value type: Long
	 */
	String WEB_P_USER_ID = "uid";

	/**
	 * Value type: String
	 */
	String WEB_P_LANDING_PAGE_URL = "lpu";

	/**
	 * Value type: encrypted "key=value" pairs separated by whitespace.
	 * <p>
	 * Format: [key${WEB_USER_CONTEXT_KEY_VALUE_SEPRATOR}value${
	 * WEB_USER_CONTEXT_PAIR_SEPRATOR}]
	 * <p>
	 * <example>e.g. "key1=value1 key2=value2"</example>
	 */
	String WEB_P_USER_CONTEXT = "uc";

}
